﻿using System;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using WinExp04.Models;

[assembly: HostingStartup(typeof(WinExp04.Areas.Identity.IdentityHostingStartup))]
namespace WinExp04.Areas.Identity
{
    public class IdentityHostingStartup : IHostingStartup { public void Configure(IWebHostBuilder builder) { builder.ConfigureServices((context, services) => { services.AddDefaultIdentity<IdentityUser>().AddEntityFrameworkStores<MyDbContext>(); }); } }
}